package vip.zhenzicheng.jvm;

/**
 * @author zhenzicheng
 * @DESCRIPTION:
 * @DATE: 2022/05/14 5:16 PM
 */
public class Math {
  public static final int initData = 666;
  public static User user = new User();

  public static void main(String[] args) {
    Math math = new Math();
    math.compute();
  }

  public int compute() { //一个方法对应一块栈帧内存区域
    int a = 1;
    int b = 2;
    int c = (a + b) * 10;
    return c;
  }

  private static class User {
    private Long userId;
    private String username;
    private String password;
  }
}
